﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using modul1;

namespace modul2
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
            FillAttributeTypesComboBox();
        }

        private void FillAttributeTypesComboBox()
        {
            comboBoxAttributeTypes.Items.Clear();
            comboBoxAttributeTypes.DataSource = CTypes.EnumTypes.GetNames(typeof(CTypes.EnumTypes));

            //(CAttribute.EnumAttributeTypes)Enum.Parse(comboBoxAttributeTypes.SelectedValue); //takto sa da parsovat zvoleny typ
        
        }
    }
}
